###
 # @Author: 刘思思
 # @Date: 2024-11-29 16:45:23
 # @LastEditors: 刘思思
 # @LastEditTime: 2024-11-29 16:46:33
 # @FilePath: /AdvertisingMachine/boa/install.sh
 # @Description: 
 # 
 # Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
### 
gcc ./src/config.c ./src/cgic.c ../common/msgQueue/src/*.c -Iinc -I../common/msgQueue/inc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -lglib-2.0 -o config.cgi

cp -rf ./html/index.html ~/boa/www/ #拷贝搜集信息的界面到boa
cp -rf ./config.ini ~/boa/cgi-bin/  #拷贝编译配置处理cgi依赖的配置文件到boa
cp ./config.cgi ~/boa/cgi-bin/  #拷贝编译配置处理cgi到boa